import Vue from 'vue'
import App from './App.vue'
import '@/components/index'
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
import router from './router/index'
import http from '@/utils/http'
import geekChannel from './components/geek-channel.vue'

// Vue.use(ElementUI)

Vue.prototype.$http = http

Vue.config.productionTip = false

// 注册全局组件
Vue.component('geekChannel', geekChannel)

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
